// 动态路由，基于用户权限动态去加载
export const routes = [
    // 组态
    {
        path: '/editor',
        component: () => import('../components/layouts/TopoLayout.vue'),
        children: [
            {
                path: '', component: () => import('../topo/Editor.vue')
            }
        ]
    },
    {
        path: '/fullscreen',
        name: 'TopoFullscreen',
        component: () => import('../topo/Fullscreen.vue')
    },
    {
        path: '/fullscreenShare',
        name: 'TopoFullscreenShare',
        component: () => import('../topo/FullscreenShare.vue')
    },
    {
        path: '/screenEditor',
        component: () => import('../components/layouts/TopoLayout.vue'),
        children: [
            {
                path: '', component: () => import('../screen/Editor.vue')
            }
        ]
    },
    {
        path: '/screenFull',
        name: 'TopoFullscreen',
        component: () => import('../screen/Fullscreen.vue')
    },
];
